home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
| Confidence | Program | Detection | Match Type | Support
|
|---|
| 100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
| 100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
| 1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
| 100%
| file
| news text
| default
| |
| 99%
| file
| C source, ASCII text
| default
| |
| 100%
| checkBytes
| Printable ASCII
| default
| |
| 100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
| 100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
| 100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
| 100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
| 100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 75 | 6e 79 69 70 2e 63 63 2e |Path: bu|nyip.cc.|
|00000010| 75 71 2e 6f 7a 2e 61 75 | 21 6e 65 77 73 0a 46 72 |uq.oz.au|!news.Fr|
|00000020| 6f 6d 3a 20 63 6f 6f 6e | 73 74 61 40 70 65 67 2e |om: coon|sta@peg.|
|00000030| 61 70 63 2e 6f 72 67 0a | 4e 65 77 73 67 72 6f 75 |apc.org.|Newsgrou|
|00000040| 70 73 3a 20 63 6f 6d 70 | 2e 6c 61 6e 67 2e 63 0a |ps: comp|.lang.c.|
|00000050| 53 75 62 6a 65 63 74 3a | 20 28 6e 6f 20 73 75 62 |Subject:| (no sub|
|00000060| 6a 65 63 74 29 0a 44 61 | 74 65 3a 20 32 35 20 4a |ject).Da|te: 25 J|
|00000070| 61 6e 20 31 39 39 36 20 | 30 34 3a 34 36 3a 33 33 |an 1996 |04:46:33|
|00000080| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|00000090| 6e 3a 20 55 6e 69 76 65 | 72 73 69 74 79 20 6f 66 |n: Unive|rsity of|
|000000a0| 20 51 75 65 65 6e 73 6c | 61 6e 64 0a 4d 65 73 73 | Queensl|and.Mess|
|000000b0| 61 67 65 2d 49 44 3a 20 | 3c 34 65 37 31 76 39 24 |age-ID: |<4e71v9$|
|000000c0| 69 71 62 40 64 69 6e 67 | 6f 2e 63 63 2e 75 71 2e |iqb@ding|o.cc.uq.|
|000000d0| 6f 7a 2e 61 75 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |oz.au>.N|NTP-Post|
|000000e0| 69 6e 67 2d 48 6f 73 74 | 3a 20 74 32 37 2e 64 69 |ing-Host|: t27.di|
|000000f0| 61 6c 75 70 2e 70 65 67 | 2e 61 70 63 2e 6f 72 67 |alup.peg|.apc.org|
|00000100| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000110| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|00000120| 20 74 65 78 74 2f 70 6c | 61 69 6e 3b 20 63 68 61 | text/pl|ain; cha|
|00000130| 72 73 65 74 3d 75 73 2d | 61 73 63 69 69 0a 43 6f |rset=us-|ascii.Co|
|00000140| 6e 74 65 6e 74 2d 54 72 | 61 6e 73 66 65 72 2d 45 |ntent-Tr|ansfer-E|
|00000150| 6e 63 6f 64 69 6e 67 3a | 20 37 62 69 74 0a 58 2d |ncoding:| 7bit.X-|
|00000160| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|00000170| 31 2e 31 4e 20 28 57 69 | 6e 64 6f 77 73 3b 20 49 |1.1N (Wi|ndows; I|
|00000180| 3b 20 31 36 62 69 74 29 | 0a 54 6f 3a 20 51 3a 2c |; 16bit)|.To: Q:,|
|00000190| 47 65 74 74 69 6e 67 2c | 64 61 74 61 2c 66 72 6f |Getting,|data,fro|
|000001a0| 6d 2c 61 2c 46 41 52 2c | 43 48 41 52 2c 2a 2c 62 |m,a,FAR,|CHAR,*,b|
|000001b0| 75 66 66 65 72 3a 2c 48 | 45 4c 50 21 0a 0a 48 65 |uffer:,H|ELP!..He|
|000001c0| 72 65 20 69 73 20 74 68 | 65 20 73 74 72 75 63 74 |re is th|e struct|
|000001d0| 75 72 65 20 61 6e 64 20 | 72 65 6c 65 76 61 6e 74 |ure and |relevant|
|000001e0| 20 62 75 66 66 65 72 2c | 20 77 68 69 63 68 20 63 | buffer,| which c|
|000001f0| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 64 61 74 61 |ontains |the data|
|00000200| 20 49 20 77 61 6e 74 20 | 0a 74 6f 20 65 78 74 72 | I want |.to extr|
|00000210| 61 63 74 20 28 75 6c 74 | 69 6d 61 74 65 6c 79 2c |act (ult|imately,|
|00000220| 20 49 20 77 61 6e 74 20 | 70 6c 61 69 6e 20 69 6e | I want |plain in|
|00000230| 74 73 29 3a 0a 0a 74 79 | 70 65 64 65 66 20 73 74 |ts):..ty|pedef st|
|00000240| 72 75 63 74 20 70 63 78 | 5f 70 69 63 74 75 72 65 |ruct pcx|_picture|
|00000250| 5f 74 79 70 0a 7b 0a 20 | 20 20 20 20 20 20 20 70 |_typ.{. | p|
|00000260| 63 78 5f 68 65 61 64 65 | 72 20 68 65 61 64 65 72 |cx_heade|r header|
|00000270| 3b 20 20 20 20 20 20 20 | 20 20 20 2f 2f 46 6f 72 |; | //For|
|00000280| 67 65 74 20 69 74 3a 20 | 69 74 27 73 20 69 72 72 |get it: |it's irr|
|00000290| 65 6c 65 76 61 6e 74 0a | 20 20 20 20 20 20 20 20 |elevant.| |
|000002a0| 52 47 42 5f 63 6f 6c 6f | 72 20 70 61 6c 6c 65 74 |RGB_colo|r pallet|
|000002b0| 74 65 5b 32 35 36 5d 3b | 20 20 20 20 2f 2f 46 6f |te[256];| //Fo|
|000002c0| 72 67 65 74 20 74 68 69 | 73 20 74 6f 6f 2e 0a 20 |rget thi|s too.. |
|000002d0| 20 20 20 20 20 20 20 63 | 68 61 72 20 66 61 72 20 | c|har far |
|000002e0| 2a 62 75 66 66 65 72 3b | 20 20 20 20 20 20 20 20 |*buffer;| |
|000002f0| 20 20 20 2f 2f 54 68 61 | 74 27 73 20 74 68 65 20 | //Tha|t's the |
|00000300| 6f 6e 65 2e 0a 7d 20 70 | 63 78 5f 70 69 63 74 75 |one..} p|cx_pictu|
|00000310| 72 65 2c 20 2a 70 63 78 | 5f 70 69 63 74 75 72 65 |re, *pcx|_picture|
|00000320| 5f 70 6f 69 6e 74 65 72 | 3b 0a 0a 0a 45 76 65 72 |_pointer|;...Ever|
|00000330| 79 20 70 63 78 5f 70 69 | 63 74 75 72 65 20 69 73 |y pcx_pi|cture is|
|00000340| 20 69 6e 69 74 61 6c 69 | 73 65 64 20 77 69 74 68 | initali|sed with|
|00000350| 20 74 68 69 73 20 63 61 | 6c 6c 2c 20 77 68 69 63 | this ca|ll, whic|
|00000360| 68 20 61 6c 6c 6f 63 61 | 74 65 73 20 6d 65 6d 6f |h alloca|tes memo|
|00000370| 72 79 20 0a 66 6f 72 20 | 74 68 65 20 62 75 66 66 |ry .for |the buff|
|00000380| 65 72 2e 20 20 49 20 64 | 6f 6e 27 74 20 74 68 69 |er. I d|on't thi|
|00000390| 6e 6b 20 69 74 20 6d 61 | 6b 65 73 20 61 6e 79 20 |nk it ma|kes any |
|000003a0| 64 69 66 66 65 72 65 6e | 63 65 2c 20 62 75 74 20 |differen|ce, but |
|000003b0| 68 65 72 65 20 27 74 69 | 73 3a 0a 0a 76 6f 69 64 |here 'ti|s:..void|
|000003c0| 20 50 43 58 5f 49 6e 69 | 74 28 70 63 78 5f 70 69 | PCX_Ini|t(pcx_pi|
|000003d0| 63 74 75 72 65 5f 70 74 | 72 20 69 6d 61 67 65 29 |cture_pt|r image)|
|000003e0| 0a 7b 0a 20 20 20 20 20 | 20 20 20 69 6d 61 67 65 |.{. | image|
|000003f0| 2d 3e 62 75 66 66 65 72 | 20 3d 20 28 63 68 61 72 |->buffer| = (char|
|00000400| 20 66 61 72 20 2a 29 5f | 66 6d 61 6c 6c 6f 63 28 | far *)_|fmalloc(|
|00000410| 36 34 30 30 30 29 3b 0a | 7d 0a 0a 41 6e 79 77 68 |64000);.|}..Anywh|
|00000420| 6f 2e 2e 2e 20 73 61 79 | 20 49 20 68 61 76 65 20 |o... say| I have |
|00000430| 61 6e 20 69 6e 74 65 67 | 65 72 20 63 61 6c 6c 65 |an integ|er calle|
|00000440| 64 20 78 2c 20 61 6e 64 | 20 49 20 77 61 6e 74 20 |d x, and| I want |
|00000450| 74 68 65 20 64 61 74 61 | 20 69 6e 20 0a 62 75 66 |the data| in .buf|
|00000460| 66 65 72 5b 33 32 30 30 | 30 5d 2c 20 77 68 61 74 |fer[3200|0], what|
|00000470| 20 77 6f 75 6c 64 20 49 | 20 64 6f 3f 20 20 45 2e | would I| do? E.|
|00000480| 47 2e 0a 0a 76 6f 69 64 | 20 6d 61 69 6e 28 76 6f |G...void| main(vo|
|00000490| 69 64 29 0a 7b 0a 20 20 | 20 20 20 20 20 20 69 6e |id).{. | in|
|000004a0| 74 20 78 3b 0a 20 20 20 | 20 20 20 20 20 70 63 78 |t x;. | pcx|
|000004b0| 5f 70 69 63 74 75 72 65 | 20 74 68 65 70 69 63 74 |_picture| thepict|
|000004c0| 75 72 65 3b 0a 0a 20 20 | 20 20 20 20 20 20 2e 20 |ure;.. | . |
|000004d0| 20 20 20 28 54 68 65 20 | 62 75 66 66 65 72 20 69 | (The |buffer i|
|000004e0| 73 20 69 6e 69 74 69 61 | 6c 69 73 65 64 20 61 6e |s initia|lised an|
|000004f0| 64 20 66 69 6c 6c 65 64 | 20 77 69 74 68 20 64 61 |d filled| with da|
|00000500| 74 61 20 66 72 6f 6d 20 | 61 20 66 69 6c 65 0a 20 |ta from |a file. |
|00000510| 20 20 20 20 20 20 20 2e | 20 20 20 20 69 6e 20 68 | .| in h|
|00000520| 65 72 65 29 2e 0a 20 20 | 20 20 20 20 20 20 2e 0a |ere).. | ..|
|00000530| 0a 20 20 20 20 20 20 20 | 20 78 20 3d 20 74 68 65 |. | x = the|
|00000540| 70 69 63 74 75 72 65 2e | 62 75 66 66 65 72 5b 33 |picture.|buffer[3|
|00000550| 32 30 30 30 5d 3b 20 20 | 20 2f 2f 20 64 6f 65 73 |2000]; | // does|
|00000560| 6e 27 74 20 73 65 65 6d | 20 74 6f 20 77 6f 72 6b |n't seem| to work|
|00000570| 2e 0a 7d 0a 0a 0a 63 61 | 6e 20 41 4e 59 42 4f 44 |..}...ca|n ANYBOD|
|00000580| 59 20 50 4c 45 41 53 45 | 20 68 65 6c 70 21 0a 2d |Y PLEASE| help!.-|
|00000590| 44 6f 6d 20 27 54 68 65 | 20 44 65 66 69 6e 69 74 |Dom 'The| Definit|
|000005a0| 69 76 65 20 4e 65 77 62 | 69 65 27 20 43 6f 6f 6e |ive Newb|ie' Coon|
|000005b0| 65 79 2e 0a 0a 0a | |ey.... | |
+--------+-------------------------+-------------------------+--------+--------+